package com.qf.admin.service.impl;


import com.qf.admin.entity.AdminUser;
import com.qf.admin.mapper.LoginAdminMapper;
import com.qf.admin.service.ILoginAdmin;
import org.springframework.stereotype.Service;


@Service
public class LoginAdminImpl implements ILoginAdmin {
    private LoginAdminMapper loginAdminMapper;
    public  LoginAdminImpl ( LoginAdminMapper loginAdminMapper){
        this.loginAdminMapper=loginAdminMapper;
    }

    @Override
    public AdminUser checkUser(String username, String password) {
       return loginAdminMapper.checkUser(username,password);


    }
}
